package org.dubnation.auth.domain;

import org.dubnation.base.domain.BaseDomain;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhu
 * @since 2023-10-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Permission extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private String name;
    private String url;
    private String descs;
    private String sn;
    private Permission parent; //父权限
    private List<Permission> children; //子权限
}
